def to_performance(performance):
    data = {

    }
    return data

def to_performances(performances):
    re_performances = []
    for performance in performances:
        re_performances.append(to_performance(performance))
    return re_performances